# $Id: PKGBUILD 74323 2012-07-24 16:20:43Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andreas Hauser <andy-aur@splashground.de>

pkgname=unpaper
pkgver=0.4.2
pkgrel=1
pkgdesc="post-processing tool for scanned sheets of paper"
arch=('i686' 'x86_64')
#url="http://$pkgname.berlios.de/"
url="https://github.com/Flameeyes/unpaper"
license="GPL"
depends=('libxslt')
makedepends=('gcc')
source=("$pkgname-${pkgver}.tar.gz::https://github.com/Flameeyes/unpaper/tarball/unpaper-$pkgver")
md5sums=('7dcee730cdbeffbbd840cbe6f2bb9693')

build() {
  cd $srcdir/Flameeyes-unpaper-*
  aclocal
  automake --add-missing
  autoconf
  [ -f Makefile ] || ./configure --prefix=/usr
  make
  make install DESTDIR=$pkgdir
}
